
#协议配置
#登录请求
REQUEST_LOGIN = '0001'

#聊天请求
REQUEST_CHAT = '0002'

#登陆结果响应
RESPONSE_LOGIN_RESULT = '1001'

#聊天响应
RESPONSE_CHAT = '1002'

#自定义协议数据分隔符
DELIMITER = '|'

#服务器配置
SERVER_IP = '127.0.0.1'
SERVER_PORT = 8090

#数据库连接信息

DB_HOST = '127.0.0.1'
DB_PORT = 3306
DB_NAME = 'minichat'
DB_USER = 'root'
DB_PASSWORD = '123456'
